package com.zynn.common.pojo.dto.school;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * @author 袁毅雄
 * @description 校园榜列表项
 * @date 2018/9/16
 */
@Data
public class SchoolPopularityItemDTO {

    /**
     * 上榜的学校id
     */
    @JsonSerialize(using=ToStringSerializer.class)
    private Long schoolId;
    /**
     * 校园榜主题id
     */
    @JsonSerialize(using=ToStringSerializer.class)
    private Long subjectId;
    /**
     * 排行值
     */
    @JsonSerialize(using=ToStringSerializer.class)
    private Long topIndex;

    /**
     * 上榜的动态id
     */
    @JsonSerialize(using=ToStringSerializer.class)
    private Long eventId;

    /**
     * 校园榜主题
     */
    private SchoolSubjectDTO schoolSubjectDTO;
}
